add_definitions(-DTRANSLATION_DOMAIN=\"kcm_contact\")

set(kcm_contact_SRCS
    contactwidget.h
    contactwidget.cpp
    icons.qrc
    companyqrcodedialog.h
    companyqrcodedialog.cpp

)

ki18n_wrap_ui(kcm_contact_SRCS
    contactwidget.ui
    companyqrcodedialog.ui
)

kcoreaddons_add_plugin(kcm_contact SOURCES ${kcm_contact_SRCS} INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets")
kcmutils_generate_desktop_file(kcm_contact)

target_link_libraries(kcm_contact
     KF5::AuthCore
     KF5::ConfigWidgets
     KF5::KIOWidgets
     KF5::NotifyConfig
     KF5::I18n
)
